package innerface02;

public class Person {

    class Heart{
        public void jump(){
            System.out.println("心脏跳动");
        }
    }

 //返回内部类对象
    public Heart getHerat(){
        return new Heart();
    }
}
